package org.ziyuandagong.share.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author 自愿打工
 * @since 2024-12-06
 */
@TableName("share_permission")
@ApiModel(value = "Permission对象", description = "")
public class Permission implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("分享权限记录的唯一标识符")
    private String permissionId;

    @ApiModelProperty("关联的分享记录ID")
    private String shareId;

    @ApiModelProperty("被授予权限的用户ID")
    private String userId;

    @ApiModelProperty("权限级别")
    private String permissionLevel;

    public String getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(String permissionId) {
        this.permissionId = permissionId;
    }
    public String getShareId() {
        return shareId;
    }

    public void setShareId(String shareId) {
        this.shareId = shareId;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getPermissionLevel() {
        return permissionLevel;
    }

    public void setPermissionLevel(String permissionLevel) {
        this.permissionLevel = permissionLevel;
    }

    @Override
    public String toString() {
        return "Permission{" +
            "permissionId=" + permissionId +
            ", shareId=" + shareId +
            ", userId=" + userId +
            ", permissionLevel=" + permissionLevel +
        "}";
    }
}
